package com.tnovoselec.android.travelassistant.dto;

import java.util.ArrayList;
import java.util.List;

public class CurrencyResultHolder {
	
	private static List<CurrencyDto> RESULT = new ArrayList<CurrencyDto>();
	
	public static String dateOfPublish = "";

	private CurrencyResultHolder() {
		super();
	}

	public static void init(List<CurrencyDto> items) {
		CurrencyResultHolder.clear();
		RESULT.addAll(items);
	}

	public static void clear() {
		CurrencyResultHolder.RESULT.clear();
	}

	public static List<CurrencyDto> getAll() {
		return RESULT;
	}

}
